<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../layui-2.3.0/css/layui.css">
    <script type="text/javascript" src="../../layui-2.3.0/layui.js"></script>
    <script type="text/javascript" src="../js/usermanage.js"></script>
    <style>

        .layui-elem-field{
            border-color:#009688;
        }

        /* 修改table的样式 start */
        .layui-table thead tr{
            background-color: #009688;
            color:white;
        }
        .layui-table-sort .layui-table-sort-asc{
            border-bottom-color: white;
        }
        .layui-table-sort .layui-table-sort-desc{
            border-top-color: white;
        }
        /* 修改table的样式 end */
        /* 修改表单label宽度 */
        .layui-form-label{
            width: 85px;
        }

        /* 弹出层样式 */
        body .myclass .layui-layer-content{padding: 20px;}


    </style>
</head>
<body>
<div class="layui-container">
    <div class="layui-row">
        <fieldset class="layui-elem-field" >
            <legend>查询表单</legend>
            <div class="layui-field-box">
                <div class="layui-form" style="margin-left: 5%;">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">账户名称：</label>
                            <div class="layui-input-inline">
                                <input type="text" name="accountname" id="accountname" autocomplete="off" class="layui-input"/>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">用户姓名：</label>
                            <div class="layui-input-inline">
                                <input type="text" name="username" id="username" autocomplete="off" class="layui-input"/>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">手机号码：</label>
                            <div class="layui-input-inline">
                                <input type="text" name="mobile" id="mobile" autocomplete="off" class="layui-input"/>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
              <!--          <div class="layui-inline">
                            <label class="layui-form-label">所属用户组：</label>
                            <div class="layui-input-inline">
                                <select name="roles">
                                    <option value="">请选择用户组名称</option>
                                    <option value="123456" >办公人员</option>
                                    <option value="23245">外派人员</option>
                                    <option value="34656">领导组</option>
                                    <option value="34656">信息技术人员组</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">所属角色：</label>
                            <div class="layui-input-inline">
                                <select name="roles">
                                    <option value="">请选择角色名称</option>
                                    <option value="123456" >超级管理员</option>
                                    <option value="23245">普通管理员</option>
                                    <option value="34656">财务部人员</option>
                                </select>
                            </div>
                        </div>-->


                        <div class="layui-inline">
                            <label class="layui-form-label">用户状态：</label>
                            <div class="layui-input-inline">
                                <input type="radio" name="state" value="1" title="启用" checked="">
                                <input type="radio" name="state" value="0" title="废除">
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">创建时间：</label>
                            <div class="layui-input-inline">
                                <input type="text" name="startdate" id="startdate" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                            </div>
                            <div class="layui-form-mid">--</div>
                            <div class="layui-input-inline">
                                <input type="text" name="enddate" id="enddate" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                            </div>
                        </div>


                    </div>
                    <div class="layui-form-item" style="text-align: center;">

                        <div class="layui-inline" >
                            <button class="layui-btn layui-btn-normal" id="addUserBtn"><i class="layui-icon layui-icon-add-circle"></i>新增</button>
                            <button class="layui-btn layui-btn-normal"><i class="layui-icon layui-icon-search"></i>查询</button>
                            <button class="layui-btn layui-btn-normal"><i class="layui-icon layui-icon-refresh"></i>重置</button>
                            <button class="layui-btn layui-btn-normal">导出数据</button>
                        </div>

                    </div>
                </div>
            </div>
        </fieldset>
    </div>

    <div class="layui-row"  >
        <table class="layui-hide" id="mytable" lay-filter="operation"></table>
        <!--表格列工具条模板-->
        <script type="text/html" id="barDemo">
            <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="set">设置</a><!--查看用户基本信息-->
            <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
        </script>
    </div>
</div>
</body>
<!-- 需要弹出的用户新增或修改界面 -->
<div class="layui-row" id="userlayer" style="display: none;">
    <div class="layui-col-md12">
        <form class="layui-form" id="addUserForm">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">账户名称：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="accountname" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">账户密码：</label>
                    <div class="layui-input-inline">
                        <input type="password" name="accountpassword" class="layui-input">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">用户姓名：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="username" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">性别：</label>
                    <div class="layui-input-inline">
                        <input type="radio" name="empSex" value="男" title="男" checked>
                        <input type="radio" name="empSex" value="女" title="女">
                    </div>
                </div>
            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">手机号码：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="mobile" class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">邮箱：</label>
                    <div class="layui-input-inline">
                        <input type="text" name="email" class="layui-input">
                    </div>
                </div>
            </div>
        <!--    <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">用户角色：</label>
                    <div class="layui-input-inline">
                        <select name="roles">
                            <option value="">请选择角色名称</option>
                            <option value="123456" >超级管理员</option>
                            <option value="23245">普通管理员</option>
                            <option value="34656">财务部人员</option>
                        </select>
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">所属用户组：</label>
                    <div class="layui-input-inline">
                        <select name="roles">
                            <option value="">请选择用户组名称</option>
                            <option value="123456" >办公人员</option>
                            <option value="23245">外派人员</option>
                            <option value="34656">领导组</option>
                            <option value="34656">信息技术人员组</option>
                        </select>
                    </div>
                </div>
            </div>-->
            <div class="layui-form-item" style="text-align: center;">
                    <button type="button" class="layui-btn layui-btn-normal">提交</button>
                    <button type="button" class="layui-btn layui-btn-normal">取消</button>
            </div>
        </form>
    </div>
</div>

</html>